package com.vietnam.power.dao;

import java.util.List;

import com.vietnam.power.domain.TransactionSearchCriteria;
import com.vietnam.power.persitence.PatronInfo;
import com.vietnam.power.persitence.Transaction;

public interface TransactionDao {
	public Transaction getTransactionById(int id);

	public void createTransaction(Transaction txn);

	public List<Transaction> searchTransaction(TransactionSearchCriteria tsc);

	public void updatePatron(PatronInfo pi);

	public PatronInfo getPatronInfoById(int id);

	public void updateTransaction(Transaction txn);
}
